package com.drg.center.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.annotation.ConditionBy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/14
 */
@Data
@ApiModel("病组盈亏分析入参DTO")
public class DrgProfitLossDTO implements Serializable {

    @ApiModelProperty("科室编码")
    private String departCode;

    @ApiModelProperty("DRG病组编码")
    private String chsDrgCode;

    @ApiModelProperty("出院日期开始日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty("出院日期结束日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
